<template>
    <a-page-header class="demo-page-header" style="border: 1px solid rgb(235, 237, 240)" title="返回" sub-title="流程名称"
    @back="() => emits('cancel')">
    <template #extra>          
      <a-button @click="emits('cancel')"  >关闭</a-button>
    </template>
  </a-page-header>
</template>

<script lang="ts" setup>
const emits = defineEmits(['cancel']);
</script>
